package com.wx.utils;

import java.util.Random;

public class commonUtil {


    /**
     * 生成订单规则
     * @param header 10 集采 20 订单
     * @return
     */
    public static String generateOrderNo(String header){
        long currentTime =System.currentTimeMillis();
        String NO=header+String.valueOf(currentTime+new Random().nextInt(100));
        return NO;
    }

    public static void main(String[] args) {
        System.out.println(generateOrderNo("20"));
    }
}
